<!DOCTYPE html>
<html>
<!-- Created by GNU Texinfo 7.1, https://www.gnu.org/software/texinfo/ -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!-- Copyright © 1988-2023 Free Software Foundation, Inc.

Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation; with the
Invariant Sections being "Funding Free Software", the Front-Cover
Texts being (a) (see below), and with the Back-Cover Texts being (b)
(see below).  A copy of the license is included in the section entitled
"GNU Free Documentation License".

(a) The FSF's Front-Cover Text is:

A GNU Manual

(b) The FSF's Back-Cover Text is:

You have freedom to copy and modify this GNU Manual, like GNU
     software.  Copies published by the Free Software Foundation raise
     funds for GNU development. -->
<title>Host Misc (GNU Compiler Collection (GCC) Internals)</title>

<meta name="description" content="Host Misc (GNU Compiler Collection (GCC) Internals)">
<meta name="keywords" content="Host Misc (GNU Compiler Collection (GCC) Internals)">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
<meta name="viewport" content="width=device-width,initial-scale=1">

<link href="index.html" rel="start" title="Top">
<link href="Option-Index.html" rel="index" title="Option Index">
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
<link href="Host-Config.html" rel="up" title="Host Config">
<link href="Filesystem.html" rel="prev" title="Filesystem">
<style type="text/css">
<!--
a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
span:hover a.copiable-link {visibility: visible}
-->
</style>


</head>

<body lang="en">
<div class="section-level-extent" id="Host-Misc">
<div class="nav-panel">
<p>
Previous: <a href="Filesystem.html" accesskey="p" rel="prev">Host Filesystem</a>, Up: <a href="Host-Config.html" accesskey="u" rel="up">Host Configuration</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Option-Index.html" title="Index" rel="index">Index</a>]</p>
</div>
<hr>
<h3 class="section" id="Host-Misc-1"><span>19.3 Host Misc<a class="copiable-link" href="#Host-Misc-1"> &para;</a></span></h3>
<a class="index-entry-id" id="index-configuration-file-1"></a>
<a class="index-entry-id" id="index-xm_002dmachine_002eh-1"></a>

<dl class="ftable">
<dt><a id="index-FATAL_005fEXIT_005fCODE"></a><span><code class="code">FATAL_EXIT_CODE</code><a class="copiable-link" href="#index-FATAL_005fEXIT_005fCODE"> &para;</a></span></dt>
<dd><p>A C expression for the status code to be returned when the compiler
exits after serious errors.  The default is the system-provided macro
&lsquo;<samp class="samp">EXIT_FAILURE</samp>&rsquo;, or &lsquo;<samp class="samp">1</samp>&rsquo; if the system doesn&rsquo;t define that
macro.  Define this macro only if these defaults are incorrect.
</p>
</dd>
<dt><a id="index-SUCCESS_005fEXIT_005fCODE"></a><span><code class="code">SUCCESS_EXIT_CODE</code><a class="copiable-link" href="#index-SUCCESS_005fEXIT_005fCODE"> &para;</a></span></dt>
<dd><p>A C expression for the status code to be returned when the compiler
exits without serious errors.  (Warnings are not serious errors.)  The
default is the system-provided macro &lsquo;<samp class="samp">EXIT_SUCCESS</samp>&rsquo;, or &lsquo;<samp class="samp">0</samp>&rsquo; if
the system doesn&rsquo;t define that macro.  Define this macro only if these
defaults are incorrect.
</p>
</dd>
<dt><a id="index-USE_005fC_005fALLOCA"></a><span><code class="code">USE_C_ALLOCA</code><a class="copiable-link" href="#index-USE_005fC_005fALLOCA"> &para;</a></span></dt>
<dd><p>Define this macro if GCC should use the C implementation of <code class="code">alloca</code>
provided by <samp class="file">libiberty.a</samp>.  This only affects how some parts of the
compiler itself allocate memory.  It does not change code generation.
</p>
<p>When GCC is built with a compiler other than itself, the C <code class="code">alloca</code>
is always used.  This is because most other implementations have serious
bugs.  You should define this macro only on a system where no
stack-based <code class="code">alloca</code> can possibly work.  For instance, if a system
has a small limit on the size of the stack, GCC&rsquo;s builtin <code class="code">alloca</code>
will not work reliably.
</p>
</dd>
<dt><a id="index-COLLECT2_005fHOST_005fINITIALIZATION"></a><span><code class="code">COLLECT2_HOST_INITIALIZATION</code><a class="copiable-link" href="#index-COLLECT2_005fHOST_005fINITIALIZATION"> &para;</a></span></dt>
<dd><p>If defined, a C statement (sans semicolon) that performs host-dependent
initialization when <code class="code">collect2</code> is being initialized.
</p>
</dd>
<dt><a id="index-GCC_005fDRIVER_005fHOST_005fINITIALIZATION"></a><span><code class="code">GCC_DRIVER_HOST_INITIALIZATION</code><a class="copiable-link" href="#index-GCC_005fDRIVER_005fHOST_005fINITIALIZATION"> &para;</a></span></dt>
<dd><p>If defined, a C statement (sans semicolon) that performs host-dependent
initialization when a compilation driver is being initialized.
</p>
</dd>
<dt><a id="index-HOST_005fLONG_005fLONG_005fFORMAT"></a><span><code class="code">HOST_LONG_LONG_FORMAT</code><a class="copiable-link" href="#index-HOST_005fLONG_005fLONG_005fFORMAT"> &para;</a></span></dt>
<dd><p>If defined, the string used to indicate an argument of type <code class="code">long
long</code> to functions like <code class="code">printf</code>.  The default value is
<code class="code">&quot;ll&quot;</code>.
</p>
</dd>
<dt><a id="index-HOST_005fLONG_005fFORMAT"></a><span><code class="code">HOST_LONG_FORMAT</code><a class="copiable-link" href="#index-HOST_005fLONG_005fFORMAT"> &para;</a></span></dt>
<dd><p>If defined, the string used to indicate an argument of type <code class="code">long</code>
to functions like <code class="code">printf</code>.  The default value is <code class="code">&quot;l&quot;</code>.
</p>
</dd>
<dt><a id="index-HOST_005fPTR_005fPRINTF"></a><span><code class="code">HOST_PTR_PRINTF</code><a class="copiable-link" href="#index-HOST_005fPTR_005fPRINTF"> &para;</a></span></dt>
<dd><p>If defined, the string used to indicate an argument of type <code class="code">void *</code>
to functions like <code class="code">printf</code>.  The default value is <code class="code">&quot;%p&quot;</code>.
</p></dd>
</dl>

<p>In addition, if <code class="command">configure</code> generates an incorrect definition of
any of the macros in <samp class="file">auto-host.h</samp>, you can override that
definition in a host configuration header.  If you need to do this,
first see if it is possible to fix <code class="command">configure</code>.
</p>
</div>
<hr>
<div class="nav-panel">
<p>
Previous: <a href="Filesystem.html">Host Filesystem</a>, Up: <a href="Host-Config.html">Host Configuration</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Option-Index.html" title="Index" rel="index">Index</a>]</p>
</div>



</body>
</html>
